{% extends "base_settings.html" %}
{% load i18n %}
{% block content %}
<form action="" method="post" name="user_form" id="user_form">
{% if anonymous %}
<div class="setting_intro">{% trans "Type your username and password to log in" %}:</div>
<table id="loginable" class="settingstable">
{{ login_form }}
</table>
<div class="buttons"><input type="submit" name="submit_action" value="{% trans "Login" %}"></div>
{% else %}
<div class="setting_intro">{% trans "You are already logged in. To change your identity, please logout first." %}<br />
{% trans "But remember your current credentials or you won't be able to reach your current projects!" %}</div>
<div class="buttons"><input type="submit" name="submit_action" value="{% trans "Logout" %}"></div>
{% endif %}
</form>
{% endblock content %}
